from rest_framework import renderers

class JPEGRenderer(renderers.BaseRenderer):
    media_type =  "image/jpeg"
    format =  'jpg'
    
    charset =  None
    render_style =  "binary"
    
    def render(self, data, accepted_media_type=None, renderer_context=None):
        return data